package com.mingqijia.gassafety.webserver.response.workorder.asst;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;

/**
 * 基础业务
 *
 * @author guoliang.lao
 */
@Data
public class BizServeResponse {

    private Long id;

    private Integer serviceType;

    private String pcode; //上级编码

    private String pcodeName; //上级名称

    private String serviceCode;

    private String serviceName;

    private Integer serviceAmount = 0; //金额 单位分

    private Integer scoreByPiece;

    private Integer state;

    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 外部租户id
     */
    private String spId;
}
